package com.qianli.cashmama.trade.common.enums;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/7/31
 * Time: 上午9:54
 */
public enum TradeEventTypeEnum {
    INIT(0, "INIT", "初始化"),
    CREATE_SUCCESS(1, "CREATE_SUCCESS", "创建成功"),
    AUDIT_WATTING(2, "AUDIT_WATTING", "等待信审回执"),
    LOAN_WAITTING(3, "LOAN_WAITTING", "待放款回执"),
    PAY_RETRY(4, "PAY_RETRY", "银行卡出问题,待修改信息后重新发起支付"),
    REPAYMENT_WATTING(5, "REPAYMENT_WATTING", "待还款"),
    OVERDUE(6, "REPAYMENT_WATTING", "逾期中"),
    CLOSED(7, "CLOSED", "交易关闭"), ;
    private int type;
    private String code;
    private String desc;

    TradeEventTypeEnum(int type, String code, String desc) {
        this.type = type;
        this.code = code;
        this.desc = desc;
    }

    public int getType() {
        return type;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
